package com.ccrfid.rmc6.pojo.dto.prison.door;

import java.sql.Timestamp;

public class InOutDoorMsg {
    private Long doorId;
    private String type;
    private Long personnelId;
    private String personnelName;
    private Long cardNumber;
    private Timestamp recordTime;

    public InOutDoorMsg() {
    }

    public InOutDoorMsg(Long doorId, String type, Long personnelId, String personnelName,
                        Long cardNumber, Timestamp recordTime) {
        this.doorId = doorId;
        this.type = type;
        this.personnelId = personnelId;
        this.personnelName = personnelName;
        this.cardNumber = cardNumber;
        this.recordTime = recordTime;
    }

    public Long getDoorId() {
        return doorId;
    }

    public void setDoorId(Long doorId) {
        this.doorId = doorId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Long getPersonnelId() {
        return personnelId;
    }

    public void setPersonnelId(Long personnelId) {
        this.personnelId = personnelId;
    }

    public String getPersonnelName() {
        return personnelName;
    }

    public void setPersonnelName(String personnelName) {
        this.personnelName = personnelName;
    }

    public Long getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(Long cardNumber) {
        this.cardNumber = cardNumber;
    }

    public Timestamp getRecordTime() {
        return recordTime;
    }

    public void setRecordTime(Timestamp recordTime) {
        this.recordTime = recordTime;
    }
}
